How to detect IE11? up vote 155 down vote favorite 53 When I want to detect IE I use this code: ... What you can do if you really want to know it's IE is to detect the Trident/ string in the user agent if navigator.appName returns Netscape, something